package com.gzxx.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gzxx.domain.base.BaseEntity;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author MAX
 * @date 2020/7/24 9:09 上午
 * 系统角色实体
 */

@Getter
@ToString(callSuper = true)
@TableName("sys_role")
public class SysRole extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 4288279004070092884L;

    private String roleName;
    private String roleDesc;
    private Integer status;

    @Builder
    private SysRole(Long id, String roleName, String roleDesc, Integer status, Long createBy, Long updateBy, Integer revision, String idempotent) {
        super(id, createBy, updateBy, revision, idempotent);
        this.roleName = roleName;
        this.roleDesc = roleDesc;
        this.status = status;
    }
}
